package com.dy.project.utils;

import com.dy.project.domain.CommodityOfflineUser;
import org.springframework.stereotype.Component;

@Component
public class OnlineUserUtil {
    // 当前登录的用户
    private CommodityOfflineUser loginUser;

    public CommodityOfflineUser getLoginUser() {
        return loginUser;
    }

    public void setLoginUser(CommodityOfflineUser loginUser) {
        this.loginUser = loginUser;
    }
}
